package kr.or.javacafe.welfareInfo.controller;

import java.util.Locale;

import kr.or.javacafe.usefulInfo.controller.UsefulInfoController;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/welfare-info")
public class WelfareInfoController {
	private static final Logger logger = LoggerFactory.getLogger(UsefulInfoController.class);
	
	@RequestMapping(value = "/infant", method = RequestMethod.GET)
	public String infant(Locale locale, Model model) {
		return "welfareInfo/infant";
	}
	
	@RequestMapping(value = "/children", method = RequestMethod.GET)
	public String children(Locale locale, Model model) {
		return "welfareInfo/children";
	}
	
	@RequestMapping(value = "/teenager", method = RequestMethod.GET)
	public String teenager(Locale locale, Model model) {
		return "welfareInfo/teenager";
	}

	@RequestMapping(value = "/youth", method = RequestMethod.GET)
	public String youth(Locale locale, Model model) {
		return "welfareInfo/youth";
	}

	@RequestMapping(value = "/adults", method = RequestMethod.GET)
	public String adults(Locale locale, Model model) {
		return "welfareInfo/adults";
	}

	@RequestMapping(value = "/silver", method = RequestMethod.GET)
	public String silver(Locale locale, Model model) {
		return "welfareInfo/silver";
	}

}
